<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="table-fixed.html" method="post">
        <input type="hidden" name="pageSize" value="${userPage.pageSize}">
        <input type="hidden" name="pageCurrent" value="${userPage.pageNumber}">
        <input type="hidden" name="orderField" value="${(RequestParameters.orderField)!}">
        <input type="hidden" name="orderDirection" value="${(RequestParameters.orderDirection)!}">
        <ul class="bjui-searchBar">
            <li><label>护照号：</label><input type="text" id="customNo" value="" name="code" class="form-control" size="10" /></li>
            <li><label>客户姓名：</label><input type="text" value="" name="name" class="form-control" size="8" /></li>
            <li><label>所属业务:</label>
                <select name="type" data-toggle="selectpicker">
                    <option value="">全部</option>
                    <option value="1">联络</option>
                    <option value="2">住宿</option>
                    <option value="3">餐饮</option>
                    <option value="4">交通</option>
                </select>
            </li>
            <li><input type="checkbox" id="j_table_chk" value="true" data-toggle="icheck" data-label="我的客户"></li>
            <li><a href="javascript:;" class="showMoreSearch" data-toggle="moresearch" data-name="custom" title="更多选项"><i class="fa fa-angle-double-down"></i></a></li>
            <li><button type="submit" class="btn-default" data-icon="search">查询</button></li>
            <li><a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true);" data-icon="undo">清空查询</a></li>
            <li class="pull-right">
                <div class="btn-group">
                    <button type="button" class="btn-default dropdown-toggle" data-toggle="dropdown" data-icon="copy">批量操作<span class="caret"></span></button>
                    <ul class="dropdown-menu right" role="menu">
                        <li><a href="book1.xlsx" data-toggle="doexport" data-confirm-msg="确定要导出信息吗？">导出<span style="color: green;">全部</span></a></li>
                        <li><a href="book1.xlsx" data-toggle="doexportchecked" data-confirm-msg="确定要导出选中项吗？" data-idname="expids" data-group="ids">导出<span style="color: red;">选中</span></a></li>
                        <li class="divider"></li>
                        <li><a href="ajaxDone2.html" data-toggle="dodelchecked" data-confirm-msg="确定要删除选中项吗？" data-idname="delids" data-group="ids">删除选中</a></li>
                    </ul>
                </div>
            </li>
        </ul>
        <div class="bjui-moreSearch">
            <label>职业：</label><input type="text" value="" name="profession" size="15" />
            <label>&nbsp;性别:</label>
            <select name="sex" data-toggle="selectpicker">
                <option value="">全部</option>
                <option value="true">男</option>
                <option value="false">女</option>
            </select>
            <label>&nbsp;手机:</label>
            <input type="text" value="" name="mobile" size="10">
        </div>
    </form>
</div>
<div class="bjui-pageContent">
    <table data-toggle="tablefixed" data-width="100%" data-layout-h="0" >
        <thead>
            <tr>
                <th>登录名称</th>
                <th>邮箱</th>
                <th>状态</th>
                <th>描述</th>
                <th data-order-direction="desc" data-order-field="date">创建日期</th>
                <th width="26"><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
                <th width="100">操作</th>
            </tr>
        </thead>
        <tbody>
            <#list userPage.getList() as x>
			<tr>
				<td>${x.name}</td>
				<td>${x.email}</td>
				<td>${x.status}</td>
				<td>${x.des}</td>
				<td>${x.date}</td>
				<td><input type="checkbox" name="ids" data-toggle="icheck" value="${x.id}"></td>
				<td>
                    <a href="system/user/edit/${x.id}" class="btn btn-green" data-toggle="navtab" data-target="form" data-reload-warn="本页已有打开的内容，确定将刷新本页内容，是否继续？">编辑</a>
                    <a href="system/user/delete/${x.id}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗？">删除</a>
                </td>
			</tr>
			</#list>

        </tbody>
    </table>
    <div class="bjui-footBar">
        <div class="pages">
            <span>每页&nbsp;</span>
            <div class="selectPagesize">
                <select data-toggle="selectpicker" data-toggle-change="changepagesize">
                    <option value="30">30</option>
                    <option value="60">60</option>
                    <option value="120">120</option>
                    <option value="150">150</option>
                </select>
            </div>
            <span>&nbsp;条，共 ${userPage.totalRow} 条</span>
        </div>
        <div class="pagination-box" data-toggle="pagination" data-total="${userPage.totalRow}" data-page-size="${userPage.pageSize}" data-page-current="${userPage.pageNumber}">
        </div>
    </div>
</div>